<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://localhost:8080/04_cookie_session/registerServlet" method="post">
    用户名:<input type="text" name="username"><br>
    验证码:<input type="text" name="code">
    <img src="http://localhost:8080/04_cookie_session/kaptcha.jpg" alt=""><br>
    <input type="submit" value="注册">
</form>
</body>
</html>